package com.afei.java.ai.langchain4j.assisant;

import dev.langchain4j.service.spring.AiService;
import dev.langchain4j.service.spring.AiServiceWiringMode;

/**
 * @Title: MemoryChatAssisant
 * @Author wangyf
 * @Package com.afei.java.ai.langchain4j.assisant
 * @Date 2025/4/23 10:29
 * @description: 记忆保存
 */

@AiService(
        wiringMode = AiServiceWiringMode.EXPLICIT,
        chatModel = "qwenChatModel",
        chatMemory = "chatMemory"
)
public interface MemoryChatAssisant {


    String chat(String message);

}
